package com.itheima;


import java.rmi.StubNotFoundException;

public class Student {

    String name;
    int age;
    static String school;

    public void show() {
        System.out.println(name + "   " + age + "    " + school);

    }

    public static void main(String[] args) {
        Student.school = "学院";
        Student stu1 = new Student();
        stu1.show();
        Student stu2 = new Student();
        stu2.school = "大学";
        stu1.show();
        stu2.show();
        System.out.println(Student.school);
    }
}
